From: Florian Müllner Date: Sun, 27 Jan 2019 21:25:30 +0000 (+0100) Subject: lint: Require spaces inside braces in object literals X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~46 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=109b8e8f38ff0be94e3cb2fab90ca1dc916af71e;p=gnome-shell.git lint: Require spaces inside braces in object literals Prohibiting spaces where the established GNOME style has required them for a decade would be a harsh change for no good reason. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/609 --- diff --git a/lint/eslintrc-shell.json b/lint/eslintrc-shell.json index f59417c44..f2524a6df 100644 --- a/lint/eslintrc-shell.json +++ b/lint/eslintrc-shell.json @@ -1,4 +1,11 @@ { + "rules": { + "object-curly-spacing": [ + "error", + "always" + ] + }, + "overrides": [ { "files": "js/**",